@extends('app')

@section('content')
<div class="panel panel-default description2 mt20">
    <div class="row">
    @foreach($images as $img)
        <div class="col-xs-3 col-sm-3" style="margin-bottom: 20px" id='news_{{$img->image_id}}'>
            <img src="{{ $img->path }}" width="100%" height="120px"/>
            <div class="mt10"> {{ str_limit($img->name,26) }} </div>
            <div class="row mt10">
              <div class="col-xs-10 col-sm-10">
                    {{ str_limit($img->company->name,22) }}
              </div>
              <div class="col-xs-2 col-sm-2">
                    <a href="javascript:void(0)"  onclick="del_one('/admin/enterprise/pictures/delete','{{$img->image_id}}','{{ csrf_token() }}','id')"><i class="icon-trash "></i></a>
              </div>
            </div>
        </div>
    @endforeach
    </div>
</div>
<div>{!! $images->render() !!}</div>

@endsection
